//
//  GraphViewController.h
//  AWS Viewer
//
//  Created by Tim Kieboom
//  Copyright (c) 2013 AI&I. All rights reserved.
//


#import <UIKit/UIKit.h>
#import "CorePlot-CocoaTouch.h"
#import "TableViewController.h"
#import "AFHTTPRequestOperation.h"



@interface GraphViewController : UIViewController <CPTPlotDataSource> {
    NSArray *datapoints;
    BOOL hasData;
    CPTGraph *graph;
    long currentPos;
    CPTGraphHostingView* hostView;
    float minYAxis, lengthYAxis;
        NSString *datastream;
    CPTScatterPlot *plot;
    CPTXYPlotSpace *plotSpace;
    CPTXYAxisSet *axisSet;
    float diff ;
    
    }



-(void)fetchWeekData;

-(void) setDataStreamIndex:(int)index;
@end
